﻿using ConsoleApp2.Madel.Entity;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Runtime.Remoting.Contexts;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2



{
    public class Admin3000DbContext:DbContext
    {
        public Admin3000DbContext() : base("server=.;database=Admin3000Db;uid=sa;pwd=123456")
        {

        }
        public DbSet<Student> Students { get; set; }
        public DbSet<Class> Classes { get; set; }
    }
}
